<template>
    <div>
        main内容
    </div>
</template>

<script>
export default {
  mounted () {
    if (this.$store.state.user.severUserInfo.data.loginName === 'LA000465') {
      this.$router.push({ name: 'login-v3' })
    } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA000466' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA000469' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004610' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004611' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004612' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004613' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004614' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004615' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004616' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004617' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004618' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004619' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004620' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004621' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004622' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004623' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004624' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004625' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004626' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004627' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004628' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004629' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004630' ||
        this.$store.state.user.severUserInfo.data.loginName === 'LA0004631') {
      // 文旅局
      if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004610') {
        // 文旅局和平区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '和平区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004611') {
        // 文旅局沈河区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '沈河区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004612') {
        // 文旅局铁西区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '铁西区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004613') {
        // 文旅局皇姑区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '皇姑区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004614') {
        // 文旅局大东区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '大东区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004615') {
        // 文旅局浑南区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '浑南区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004616') {
        // 文旅局于洪区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '于洪区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004617') {
        // 文旅局沈北新区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '沈北新区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004618') {
        // 文旅局苏家屯区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '苏家屯区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004619') {
        // 文旅局辽中区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '辽中区' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004620') {
        // 文旅局新民市
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '新民市' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004621') {
        // 文旅局法库县
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '法库县' } })
      } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA0004622') {
        // 文旅局康平县
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '康平县' } })
      } else {
        // 文旅局和平区
        this.$router.push({ name: 'hotelQuarantine', query: { areaName: '市本级' } })
      }
    } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA000467') {
      // 市卫建委
      this.$router.push({ name: 'submitIndex' })
    } else if (this.$store.state.user.severUserInfo.data.loginName === 'LA000468') {
      // 公安局
      this.$router.push({ name: 'dataExcel', query: { type: 'rushen' } })
    }
  }
}
</script>

<style scoped>

</style>
